(0) Obligation:
Runtime Complexity Relative TRS:
The TRS R consists of the following rules:
div2(S(S(x))) → +(S(0), div2(x))
div2(S(0)) → 0
div2(0) → 0
The (relative) TRS S consists of the following rules:
+(x, S(0)) → S(x)
+(S(0), y) → S(y)
Rewrite Strategy: INNERMOST
(1) DecreasingLoopProof (EQUIVALENT transformation)
The following loop(s) give(s) rise to the lower bound Ω(n1):
The rewrite sequence
div2(S(S(x))) →+ +(S(0), div2(x))
gives rise to a decreasing loop by considering the right hand sides subterm at position [1].
The pumping substitution is [x / S(S(x))].
The result substitution is [ ].
(2) BOUNDS(n^1, INF)